<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8" />
		<title></title>
		<link rel="stylesheet" type="text/css" href="css/common.css"/>
	</head>
	<body>
		<div class="content">
			<img class="logo" src="img/logo.jpg"/>
			<h1>需求表单(外发兼职)</h1>
			<div class="underline"></div>
				
				<div class="time">
					<div class="input_25 fl">
						<span>使用时长：&nbsp;&nbsp;&nbsp;</span>
						<!--<input type="text" name="service_time" id="" value="" class="" />-->	
						<span id="service_time" class="border"></span>
					</div>
					
					<div class="input_25 fl">
						<span>具体数量：&nbsp;&nbsp;&nbsp;</span>
						<span id="quantity" class="border"></span>
						<!--<input type="text" name="quantity" id="" value="" class="" />-->
					</div>
					
					<div class="input_25 fl">
						<span>兼职人数：&nbsp;&nbsp;&nbsp;</span>
						<span id="expand_jz_num" class="border"></span>
					</div>
					<div class="input_25 fl">
						<span>所属团队：&nbsp;&nbsp;&nbsp;</span>
						<span id="expand_team" class="border"></span>
					</div>
					<div class="input_25 fl">
						<span>具体客户：&nbsp;&nbsp;&nbsp;</span>
						<span id="expand_kehu" class="border"></span>
					</div>
					<div class="input_25 fl">
						<span>要求提交时间：&nbsp;&nbsp;&nbsp;</span>
						<span id="expand_jz_submittime" class="border"></span>
					</div>
					
					<div class="input_25 fl">
						<span>兼职类型：&nbsp;&nbsp;&nbsp;</span>
						<span id="part_time_type" class="border"></span>
					</div>

					<div class="clear"></div>
				</div>
						<div class="space_14">
							<span>兼职人员姓名：&nbsp;&nbsp;&nbsp;</span>
							<span id="expand_jz_name" class="border"></span>
							<div class="clear"></div>
						</div>
						<div class="space_14">
							<span>具体需求：&nbsp;&nbsp;&nbsp;</span>
							<span id="expand_jutixuqu" class="border"></span>
							<div class="clear"></div>
						</div>
				<br />
		
		</div>
		
		<script src="js/jquery-2.1.0.js" type="text/javascript" charset="utf-8"></script>
		<script type="text/javascript">
			function GetArgsFromHref(sHref, sArgName){
			      var args    = sHref.split("?");
			      var retval = "";
			    
			      if(args[0] == sHref) /*参数为空*/
			      {
			           return retval; /*无需做任何处理*/
			      }  
			      var str = args[1];
			      args = str.split("&");
			      for(var i = 0; i < args.length; i ++)
			      {
			          str = args[i];
			          var arg = str.split("=");
			          if(arg.length <= 1) continue;
			          if(arg[0] == sArgName) retval = arg[1]; 
			      }
			      return retval;
			}
			
			var sn = GetArgsFromHref(window.location.href,'sn');
//			var _thisurl = "/insight20170612_supplier/app/index.php?g=&m=Index&a=detail";
			
			$.ajax({
				type:"post",
				url:'./app/index.php?m=public&a=detail',
				data:{'sn':sn},
				success:function(ret){
					var service_time = ret.detail.service_time;
					var quantity = ret.detail.quantity;
					var part_time_type = ret.detail.part_time_type;
					$("#service_time").html(service_time);
					$("#quantity").html(quantity);
					$("#part_time_type").html(part_time_type);
					
					$("#expand_jz_num").html(ret.detail.expand_jz_num);
					$("#expand_jz_submittime").html(ret.detail.expand_jz_submittime);
					$("#expand_kehu").html(ret.detail.expand_kehu);
					$("#expand_team").html(ret.detail.expand_team);
					$("#expand_jz_name").html(ret.detail.expand_jz_name);
					$("#expand_jutixuqu").html(ret.detail.expand_jutixuqu);
					
					
				}
			});
		</script>
	</body>
</html>